package com.batchengine.pool;

import com.batchengine.worker.TaskExecutor;
import com.batchengine.worker.Worker;

/**
 * User: sunil.incubator@yahoo.com
 * Date: Sep 13, 2009
 * Time: 12:36:21 PM
 */
public class TaskExecutorFactory extends WorkerFactory {

    @Override
    protected Worker createWorker(String workerName, long taskId) {
        return new TaskExecutor(workerName, taskId);
    }
}
